{% extends 'front/front_base.html' %}
{% from 'common/_macro.html' import static %}
{% block title %}
注册
{% endblock %}
{% block head %}
    <script src="{{ static('front/js/front_regist.js') }}"></script>
{% endblock %}
{% block content %}
    <a href="{{ url_for('front.login') }}">已有账号？直接登录</a>
    <div class="sign-box">
        <div class="form-group">
            <div class="input-group">
                <input type="text" class="form-control" name="telephone" placeholder="电话号码" value="15222558877">
{#                <span class="input-group-btn">#}
{#                <button id="send-sms-captcha" class="btn btn-default">发送验证码</button>#}
{#            </span>#}
            </div>
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="email" placeholder="请输入邮箱">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="name" placeholder="用户名为2到20任意字符">
        </div>
        <div class="form-group">
            <input type="password" class="form-control" name="password" placeholder="密码长度不低于6位" title="密码长度不低于6位">
        </div>
        <div class="form-group">
            <input type="password" class="form-control" name="repassword" placeholder="确认密码">
        </div>
{#        <div class="form-group">#}
{#            <div class="input-group">#}
{#                <input type="text" class="form-control" name="graph_captcha" placeholder="图形验证码">#}
{#                <span class="input-group-addon captcha-addon">#}
{#                <img class="captcha-img" id="captcha-img" src="{{ url_for('common.graph_captcha') }}" alt="">#}
{#            </span>#}
{#            </div>#}
{#        </div>#}
        <div class="form-group">
            <button class="btn btn-primary btn-block" id="regist-btn">立即注册</button>
        </div>
    </div>
{#<div class="container" style="margin-top:120px">#}
{#    <div class="row">#}
{#        <div class="col-md-4 col-md-offset-4">#}
{#            <div class="panel panel-success">#}
{#                <div class="panel-heading">#}
{#                    <h3 class="panel-title"><span class="glyphicon glyphicon-plus"></span>&nbsp;会员注册</h3>#}
{#                </div>#}
{#                <div class="panel-body">#}
{#                            <div class="form-group">#}
{#                                <label for="input_name"><span class="glyphicon glyphicon-user"></span>&nbsp;昵称</label>#}
{#                                <input id="input_name" class="form-control input-lg" placeholder="昵称" name="name" type="text" autofocus>#}
{#                            </div>#}
{#                            <div class="col-md-12" id="error_name"></div>#}
{#                            <div class="form-group">#}
{#                                <label for="input_email"><span class="glyphicon glyphicon-envelope"></span>&nbsp;邮箱</label>#}
{#                                <input id="input_email" class="form-control input-lg" placeholder="邮箱" name="email" type="email" autofocus>#}
{#                            </div>#}
{#                            <div class="col-md-12" id="error_email"></div>#}
{#                            <div class="form-group">#}
{#                                <label for="input_phone"><span class="glyphicon glyphicon-phone"></span>&nbsp;手机</label>#}
{#                                <input id="input_phone" class="form-control input-lg" placeholder="手机" name="telephone" type="text" autofocus>#}
{#                            </div>#}
{#                            <div class="col-md-12" id="error_phone"></div>#}
{#                            <div class="form-group">#}
{#                                <label for="input_password"><span class="glyphicon glyphicon-lock"></span>&nbsp;密码</label>#}
{#                                <input id="input_password" class="form-control input-lg" placeholder="密码" name="password" type="password" value="">#}
{#                            </div>#}
{#                            <div class="col-md-12" id="error_password"></div>#}
{#                            <div class="form-group">#}
{#                                <label for="input_repassword"><span class="glyphicon glyphicon-lock"></span>&nbsp;确认密码</label>#}
{#                                <input id="input_repassword" class="form-control input-lg" placeholder="确认密码" name="repassword" type="password" value="">#}
{#                            </div>#}
{#                            <div class="col-md-12" id="error_repassword"></div>#}
{#                            <a href="user.html" class="btn btn-lg btn-success btn-block">注册</a>#}
{#                            <div class="form-group">#}
{#                                <button class="btn btn-primary btn-block" id="regist-btn">立即注册</button>#}
{#                            </div>#}
{#            </div>#}
{#        </div>#}
{#    </div>#}
{#</div>#}
{% endblock %}